import { createApp } from 'vue'
import App from './App.vue'
import router from "./router"
import SvgIcon from "./icons"
import '@/styles/index.scss'
import 'element-plus/dist/index.css'
import store from '@/store'
import "@/router/permission.js"
import * as ELIcons from "@element-plus/icons-vue"
import i18n from './i18n'
import filters from './views/users/filters'



const app = createApp(App)
for(const iconName in ELIcons){
    app.component(iconName,ELIcons[iconName])
}
filters(app)
SvgIcon(app)
app.use(store).use(router).use(i18n).mount('#app')